﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WPF.BytesIO.Serial.Models
{
    public class TestInfo : NotifyObject
    {
        private string _PortName = "COM1";

        public string PortName
        {
            get { return _PortName; }
            set
            {
                _PortName = value; OnPropertyChanged(nameof(PortName));
            }
        }

        private int _RaudRate = 1000000;

        public int RaudRate
        {
            get { return _RaudRate; }
            set
            {
                _RaudRate = value;
                OnPropertyChanged(nameof(RaudRate));
            }
        }

        private int _DataBits = 8;

        public int DataBits
        {
            get { return _DataBits; }
            set
            {
                _DataBits = value;
                OnPropertyChanged(nameof(DataBits));
            }
        }

        private string _ClientSendMsg = "";

        public string ClientSendMsg
        {
            get { return _ClientSendMsg; }
            set
            {
                _ClientSendMsg = value; OnPropertyChanged(nameof(ClientSendMsg));
            }
        }
    }
}
